package com.business.systemmanage.service;

import com.business.systemmanage.entity.UserInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.business.systemmanage.vo.UserInfoVO;

import java.io.UnsupportedEncodingException;
import java.security.NoSuchAlgorithmException;

/**
 * <p>
 * 用户 服务类
 * </p>
 *
 * @author sixDog
 * @since 2019-04-12
 */
public interface IUserInfoService extends IService<UserInfo> {

    void register(UserInfoVO userInfoVO) throws UnsupportedEncodingException, NoSuchAlgorithmException;

    UserInfo login(String loginName, String password) throws UnsupportedEncodingException, NoSuchAlgorithmException;
}
